name := "sbt-scala"

version := "1.0"

scalaVersion := "2.11.8"

libraryDependencies ++= {
  object V {
    val akka = "2.4.17"
    val akkaHttp = "10.0.3"
    val akkaClusterTool = "2.4.17"
    val akkaRemote = "2.4.17"
    val akkaStreamKafka = "0.13"
    val scalaTest = "3.0.1"
    val logback = "1.1.7"
    val scalaLogging = "3.5.0"
    val scalaMock = "3.5.0"
    val config = "1.3.1"
    val redis = "2.9.0"
    val embeddedRedis = "0.6"
    val etcd = "0.1.0-SNAPSHOT"
  }
  Seq(
    "com.typesafe.akka" %% "akka-actor" % V.akka,
    "com.typesafe.akka"  %% "akka-cluster-tools"   % V.akkaClusterTool,
    "com.typesafe.akka" %% "akka-remote" % V.akkaRemote,
    //"com.typesafe.akka"  %% "akka-http"            % V.akkaHttp,
    //"com.typesafe.akka"  %% "akka-slf4j"           % V.akka,
    "com.typesafe.akka"  %% "akka-stream-kafka"    % V.akkaStreamKafka,
    "com.typesafe.akka" %% "akka-stream" % V.akka,

    //"com.coreos" %  "jetcd"           % V.etcd,

    "ch.qos.logback" % "logback-classic" % V.logback,
    "redis.clients" % "jedis" % V.redis,
    "com.typesafe.scala-logging" % "scala-logging_2.11" % V.scalaLogging,
    "com.typesafe" % "config" % V.config,
    "org.scalamock" %% "scalamock-scalatest-support" % V.scalaMock % Test,
    "com.github.kstyrc" %  "embedded-redis"           % V.embeddedRedis % "test",
    "org.scalatest" % "scalatest_2.11"  % V.scalaTest % "test",
    "com.typesafe.akka" %% "akka-testkit"             % V.akka          % "test",
    "io.spray" %%  "spray-json" % "1.3.3"
  )
}

resolvers += Resolver.mavenLocal  //for jetcd


